package dao;

import java.sql.Date;
import java.util.List;

import model.Goods;

public interface GoodsDao {
	
	public boolean save(Goods goods);

	public boolean updateByIdDate(Goods goods);
	
	public boolean updateQuantityByIdDate(Goods goods);
	
	public List<Goods> findAll();
	
	public List<Goods> find(Date date);
	
	public Goods find(int id, Date date);
	
	public boolean removeByIdDate(int id, Date date);

}